<!DOCTYPE html>
<html>
	<head>
		<title>车牌登记</title>
		<meta http-equiv="Pragma" CONTENT="no-cache">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="renderer" content="webkit">
		<!-- <link href="${cxt !}/sb/themes/demo.css" rel="stylesheet" type="text/css" /> -->
		<link href="${cxt !}/ddc/css/lsdj.css" rel="stylesheet" type="text/css" />
		<%include("/common/include.html"){}%>
		<script src="http://echarts.baidu.com/build/dist/echarts.js"></script>	
		<script src="${cxt !}/sb/js/fineRegistration/fineRegistration.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			#customInfo li{
				display: inline-block;
				width: 165px;
				height: 30px;
				position: relative;
				margin-top: 5px;
			}
			#customInfo li div{
				position: absolute;
				right: 0px;
			}
			input{
			border: 1px solid black;
				}
		</style>
	</head>
	<body >
		
		<div class="easyui-layout" style="width:100%;height:100%;">
		<form id="info_form">
		<%include("/commonUtil/ddcSearchCustomer.html"){}%>
		<br/>
		
	<table width="100%"   align="center" cellspacing="1">
    <tr align="left"  bgcolor="#C8C8C8" height="30"  >
      <td width="10%"><b>违法时间</b></td>
      <td width="23%" align="left">
      	<input name="fineRegistration.DDC_INFRACTION_TIME" class="easyui-datetimebox inputBox theme-textbox-radius date"  style="border: 1px solid black;width:200px;height:20px;" />
      </td>
      <td width="10%"><b>违法地点</b></td>
      <td width="23%" align="left"><input  name="fineRegistration.DDC_INFRACTION_PLACE" style="border: 1px solid black;width:80%" /></td>
      <td width="10%"><b>违法代码</b></td>
      <td width="23%" align="left">
      <select name="fineRegistration.PUNISHMENT_DM" style="width: 80%;">
	      	<option value="-1" >--请选择--</option>
	      	<option value="20055：没有非机动车道的道路上，非机动车不准靠左侧行驶" >20055：没有非机动车道的道路上，非机动车不准靠左侧行驶</option>
	      	<option value="20045：非机动车逆向行驶" >20045：非机动车逆向行驶</option>
	      	<option value="20095：非机动车未在非机动车道内行驶" >20095：非机动车未在非机动车道内行驶</option>
	      	<option value="20075：非机动车不按照交通信号规定通行" >20075：非机动车不按照交通信号规定通行</option>
	      	<option value="7017：驾驶电动自行车搭载人数超过1人" >7017：驾驶电动自行车搭载人数超过1人</option>
	        <option value="20345：驾驶非机动车时手中持物" >20345：驾驶非机动车时手中持物</option>
	        <option value="20135：非机动车不按贵定载物" >20135：非机动车不按贵定载物</option>
	        <option value="7009：驾驶擅自改装的非机动车" >7009：驾驶擅自改装的非机动车</option>
       </select>
      
      
      
      </td>
    </tr>
    
    <tr align="left"  bgcolor="#C8C8C8" height="30">
      <td width="10%"><b>处罚人</b></td>
      <td width="23%" align="left">
      <input  name="fineRegistration.DDC_PUNISHMENT" style="width: 80%;"/>
      </td>
      <td width="10%"><b>联系方式</b></td>
      <td width="23%" align="left"><input  name="fineRegistration.PUNISHMENT_CONTACT" style="width: 80%;"/></td>
      <td width="10%"><b>罚款金额</b></td>
      <td width="23%" align="left"><input  name="fineRegistration.PU_MONEY" style="width: 80%;"/></td>
    </tr>
   
  <tr align="left"  bgcolor="#C8C8C8" height="30">
      <td width="10%"><b>违法详情</b></td>
      <td  colspan="5" align="left"><input  name="fineRegistration.DDC_PU_DETAILS" style="width: 80%;"/></td>
      
    </tr>
    <tr align="left"  bgcolor="#C8C8C8" height="30">
      <td width="10%"><b>罚款民警</b></td>
      <td width="23%" align="left">
      <input  name="fineRegistration.FINE_POLICE" style="width: 80%;"/>
      </td>
      <td width="23%" colspan="4 align="left""></td>
    </tr>
    
    
    <tr align="left"  bgcolor="#C8C8C8" height="30">
      <td width="10%"><b>备注</b></td>
      <td  colspan="5" align="left"><input  name="fineRegistration.DDC_PU_NOTE" style="width: 80%;"/></td>
      
    </tr>
    

</table>
				<br/>
				<br/>
				<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" style="margin-left: 45%;margin-bottom:3px;" onclick="saveInfo()">登记</a>

			</form>
			</div>
			
	</body>
</html>

<script type="text/javascript">


function saveInfo(){
	 $.ajax({
	    cache: true,
	    type: "POST",
	    url:"${cxt !}/fineRegistration/saveInfo",
	    data:$('#info_form').serialize(),// 你的formid
	    dataType:'json',
	    async: false,
	    success: function(result) {
	    	if(result.msg =='保存成功'){
	    		$.slideMsg("保存成功", parent.$);
	    		location.reload();
	    	}else{
	    		 $.alert(parent.$, result.msg);
	    	}
	    	//loadDialog($("#mbtablediv"), null, '行车证', "${cxt!}/beingServed/getCustomerProduct?bw="+bw+"&cid="+id+"&sid="+sid+"&mima="+sf);
	    	
	    
	    }
	});
}



</script>
